# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-send2trash
pkgver=1.5.0
pkgrel=0
pkgdesc="Send file to trash natively"
url="https://github.com/hsoft/send2trash"
arch="noarch"
license="BSD-3-Clause"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/S/Send2Trash/Send2Trash-$pkgver.tar.gz"
builddir="$srcdir/"Send2Trash-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="3c08ef513e5707cd4ac82290b326bb19161222c7a84b8ffd494789ba9858929241f55ea55482947af464c14e32fea27bd92cd762a32a1d55e2daf2e21fd63172  Send2Trash-1.5.0.tar.gz"
